home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d12
/
du.arc
/
README
< prev
next >
Wrap
Text File
|
1990-10-05
|
3KB
|
69 lines
"du" is an enhanced replacement for the standard "du" disk usage summary
utility. It's benefits are as follows:
- It's fast. Compared to the SCO XENIX 2.3 and the Interactive UNIX
2.0.2, it runs somewhere between 50% to 65% of the time.
- It works. The aforementioned du's report wrong results, and in
particular seem to botch the indirect block calculation.
- This version is very good about filesystems with different block
sizes. It will do all internal calculations in terms of the native
filesystem blocksize. Through the '-b' option you can either report
these results or normalize to a uniform "reporting blocksize". For
example, "-b512" will give the same results as the standard du (except
when it botches the indirect calculation). The default reporting
blocksize is set by REPORT_BLKSIZE, and may be zero to use the native
blocksize in the report.
- It has a number feature which you wish your "du" had, for example the
ability to *not* accumulate usage of a subdirectory into the parent
directory's usage. This is real nice for du'ing your USENET news
spool directory.
- It allows the usage to be broken down by file age. For example, the
command "du -c 0,7,30" will print four columns: the usage, the usage
by entries a week or older, the usage by entries a month or older,
and the entry name.
- It deals well with links. It doesn't have limitations that some other
du's do in terms of only being able to hold so many links or problems
with links to across directory trees. It will handle all the links
you've got, and only report them once.
Installation:
- Customize the definitions at the front of "du.h" for your installation.
- Run a make.
- Install the "du" executable and "du.man" manual page in the appropriate
places.
- The included "ngsizes" script summarizes the disk usage in your USENET
spool directory, broken down by newsgroup and age. If you'd like to
use this script, there are some definitions at the top you will need
to customize.
Fine Print:
This program is copyright 1990, Unicom Systems Development. All
rights reserved. This software is provided "as is". No warranties
have been expressed or implied. You are granted license to compile,
execute, modify, copy, and transfer this program provided: (1) all
copyright notices remain intact, (2) any modifications are clearly
marked as such, (3) you may not receive any direct profits from the
distribution of this program, and (4) your use of this software
indicates your agreement to hold Unicom Systems Development harmless
for any direct and/or incidental damages resulting from such use.
Comments, suggestions, and bug reports are welcomed to the address below.
Chip Rosenthal
<chip@chinacat.Unicom.COM>
@(#) README 1.2 90/09/08 14:38:51